package com.bd.scm.domain.dto.repairAttendance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yufc
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RepairMasterDto implements Serializable {

    @ApiModelProperty(value="")
    private Long orderId;

    @ApiModelProperty(value="")
    private String orderNo;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date startDate;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date endDate;

    @ApiModelProperty(value="")
    private String remark;

    @ApiModelProperty(value="")
    private String statusName;

    @ApiModelProperty(value="")
    private Integer status;

    @ApiModelProperty(value="")
    private Date lastOperateTime;

    @ApiModelProperty(value="")
    private String rejectReason;

    @ApiModelProperty(value="")
    private String lastApproverName;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date lastApproverTime;

    @ApiModelProperty(value="")
    private String applierNo;

    @ApiModelProperty(value="")
    private String applierName;

    @ApiModelProperty(value="")
    private String applierDeptName;

    @ApiModelProperty(value="")
    private String approver1No;

    @ApiModelProperty(value="")
    private String approver1Name;

    @ApiModelProperty(value="")
    private String approver2No;

    @ApiModelProperty(value="")
    private String approver2Name;

    @ApiModelProperty( value = "补打卡类型", notes = "补打卡类型,0：PC端补打卡，1：补上班，2：补下班，3：补上下班", dataType = "Integer", position = 12, required = true)
    private Integer repairType;

    private static final long serialVersionUID = 1L;

}